package com.dyava.commons.valueplus;

/**
 * Created by jjliu on 2017/9/10.
 */
public class DoublePlus<P> extends ObjectPlus<Double,P> {

    public static <P> DoublePlus of(Double b, P p){
        DoublePlus<P> objectPlus= new DoublePlus<P>();
        objectPlus.setValue(b);
        objectPlus.setPlus(p);
        return objectPlus;
    };

    public static DoublePlus of(Double b){
        return of(b,null);
    };

}
